package com.hualude.roadsign.service;

import com.hualude.roadsign.dto.CoverFaultDto;
import com.hualude.roadsign.dto.DTRequestDto;
import com.hualude.roadsign.dto.DTResponseDto;

import java.util.List;

/**
 * Created by ding on 2017/8/11.
 */
public interface CoverFaultCheckService {

    /**
     * @Description: 故障审核DT
     * @Author: jiang-weirong
     * @Date: 2017/7/22 18:07
     */
    public DTResponseDto getCoverFault4DT(DTRequestDto dtRequestDto, Integer actorId, Integer orgId) throws Exception;

    /**
     * @Description: 故障审核，isPass：1 通过,-1: 不通过
     * @Author: jiang-weirong
     * @Date: 2017/7/22 18:07
     */
    public Integer coverFaultAudit(Integer isPass, String feedback, Integer machineFaultId, Integer userId) throws Exception;

    /**
     * @Description: 获取信号机审核列表4App
     * @Author: pan-jianan
     * @Date: 2017/7/17 16:18
     */
    public List<CoverFaultDto> getCoverFaultCheckList4App(Integer orgId, String actorIds, Integer faultStatus,
                                                            Integer count, Integer size) throws Exception;
}
